package cn.tedu.psychology.mapper;

import cn.tedu.psychology.pojo.entity.QuestionAnswer;
import cn.tedu.psychology.pojo.vo.QuestionAnswerListItemVO;
import cn.tedu.psychology.pojo.vo.QuestionAnswerStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface QuestionAnswerMapper {

    int insert(QuestionAnswer questionAnswer);

    QuestionAnswerStandardVO getStandardByUserId(Long userId);

    List<QuestionAnswerListItemVO> listByQuestionId(Long questionId);

}
